package cn.edu.mju.property.service;

import cn.edu.mju.property.entity.Building;
import cn.edu.mju.property.entity.PageBean;
import cn.edu.mju.property.entity.Unit;

public interface BuildingService {

    /*添加公告数据*/
    public boolean addBuilding(Building building);

    /*删除公告数据*/
    public boolean delBuilding(int id);

    /*修改公告数据*/
    public boolean updateBuilding(Building building);

    /*获取分页数据*/
    PageBean<Building> findBuildingByPage(String currentPage, String rows);

}
